package edu.columbia.ubms.ejb;
import javax.ejb.Remote;

@Remote
public interface BookmarkSessionBeanRemote {
	public void bookmarkAdd(int userId, String bookmarkName,
			String bookmarkUrl, String bookmarkDescription, String bookmarkTag, char bookmarkShare);
	
	public void bookmarkUpdate(int userId, int bookmarkId, String bookmarkName,
			String bookmarkUrl, String bookmarkDescription, String bookmarkTag, char bookmarkShare);
	
	public void bookmarkDelete(int userId, int bookmarkId);
	
	public Item[] bookmarkList(int userId);
	
	public Item bookmarkGet(int userId, int bookmarkId); 
	
	public Item bookmarkGet(int bookmarkId);
	
	public Item[] bookmarkOwnSearch(int userId, String keyWord);
	
	public Item[] bookmarkOtherSearch(int userId, String keyWord);
}
